package org.i1510.common.dao;

import java.util.List;

import org.i1510.common.po.SysUser;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;



@Repository
public interface ISysUserDao extends IBaseJpaDao<SysUser, String>{
/********************以下是标准接口*********************************************************/	
	@Query("SELECT a from SysUser a WHERE a.docId =:docId") 
	 public SysUser findById(@Param("docId")String docId); 
/********************以上是标准接口*********************************************************/	
	@Query("SELECT a from SysUser a") 
	 public List<SysUser> findByWhere(); 
	/**
	*@Author Rambo
	*@Desc：查询条件Pw Name
	*@param fdPw
	*@param fdName
	*@return TODO
	*@Version  ISysUserDao.java,v 1.1 2013-11-21 下午6:00:19 
	*/
	public SysUser findByPwAndName(String Pw,String Name); 
}
